package com.boarsoft.boar.sequence.bean;

import java.util.Date;

public class SeqNumber {
	protected Long number;
	/** 登记时间（用于检查是否过期） */
	protected Date date;

	public SeqNumber(Long number, Date date) {
		this.number = number;
		this.date = date;
	}

	public SeqNumber(long number) {
		this.number = number;
		this.date = new Date();
	}

	public Long getNumber() {
		return number;
	}

	public void setNumber(Long number) {
		this.number = number;
	}

	public Date getDate() {
		return date;
	}

	public void setDate(Date date) {
		this.date = date;
	}
}
